/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.Threadies.Threadies.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.Threadies.Threadies.*;
import za.ac.cput.Threadies.Threadies.Impl.*;

/**
 *
 * @author Demian Berisford-Maynard
 */
@Configurable
public class AppConfig {

 //   @Bean(name = "newPie")
 //   public ThreadPie calculator() {
 //       return new newThreadPie();
 //   }

    @Bean(name = "oldPie")
    public ThreadPie ThreadPie() {
        return new ThreadPie();
    }
 //   @Bean(name = "newTimer")
 //   public ThreadTimer improvedCalculator() {
 //       return new newThreadTimer();
 //   }
    @Bean(name = "oldTimer")
    public ThreadTimer ThreadTimer() {
        return new ThreadTimer();
    }
}
